package cn.lysj.framework.foodv2.service;

import cn.lysj.framework.base.BaseService;
import cn.lysj.framework.foodv2.domain.FoodTypeAndFoodContact;
import cn.lysj.framework.foodv2.repository.FoodTypeAndFoodContactRepository;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import javax.transaction.Transactional;
import javax.annotation.Resource;

/**
 * @author drj
 * @description 食物与品类联系服务层
 * @create 2018-11-12 11:21:56
 **/
@Slf4j
@Service
@Transactional
public class FoodTypeAndFoodContactService implements BaseService<FoodTypeAndFoodContact> {

    @Resource
    private FoodTypeAndFoodContactRepository foodTypeAndFoodContactRepository;

    @Override
    public  FoodTypeAndFoodContactRepository getRepository() {
        return foodTypeAndFoodContactRepository;
    }
}